package com.atguigu.spzx.service.product.mapper;

import com.atguigu.spzx.model.entity.product.Product;
import com.atguigu.spzx.model.entity.product.ProductSku;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * title:
 * author: zgl
 * date: 2024/1/15
 * description：
 */
public interface ProductMapper extends BaseMapper<Product> {
    List<ProductSku> selectByPage(Page<ProductSku> pageCondition, @Param(Constants.WRAPPER) QueryWrapper<ProductSku> wrapper);
}
